WPRubyRoyalMail\WC_Royal_Mail_Shipping_Method C

Total Complexity 107
Dependencies 6
Dependents 1
Total lines 647
Lines of code 461
Logical lines of code 254
Comment lines 72
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
get_package_details()
B
36 21 77
calculate_shipping()
B
37 18 73
get_package_details_by_boxpacker()
A
40 13 55
generate_default_size_html()
A
50 8 29
validate_default_size_field()
S
63 7 10
get_max_weight()
S
55 5 20
is_medium_parcel()
S
60 5 15
is_small_parcel()
S
60 5 15
init_form_fields()
S
42 1 62
debug()
S
61 4 11
getAllowedMethods()
S
74 3 4
check_store_requirements()
S
67 3 8
filter_methods_by_size()
S
67 3 8
sort_rates()
S
73 3 4
get_royalmail_boxes()
S
54 1 24
__construct()
S
53 1 23
strip_shipping_tax()
S
71 2 6
display_error_message()
S
68 1 6
get_min_dimension()
S
70 1 5
admin_options()
S
79 1 3
getAllMethods()
S
80 1 3